﻿namespace EFS.RC.CC.Messages.Agents
{
	/// Class Status
	public class ACD : EFS.RC.CC.Messages.Message
	{
		public ACD()
		{
		}

		/// Clear
		private void Clear()
		{
			AgentSIP = null;
			EndPointTel = null;
			Enable = false;
		}

		/// Property AgentSIP: Get, Set
		public System.String AgentSIP;

		/// Property EndPointTel: Get, Set
		public System.String EndPointTel;

		/// Property Enable
		public System.Boolean Enable;

		/// Serialize
		public override void Serialize(EFS.Common.Serialization.XmlWriter xmlWriter)
		{
			// write
			xmlWriter.Write("AgentSIP", AgentSIP);
			xmlWriter.Write("EndPointTel", EndPointTel);
			xmlWriter.Write("Enable", Enable);
		}

		/// Deserialize
		public override void Deserialize(EFS.Common.Serialization.XmlReader xmlReader)
		{
			xmlReader.Read("AgentSIP", ref AgentSIP);
			xmlReader.Read("EndPointTel", ref EndPointTel);
			xmlReader.Read("Enable", ref Enable);
		}
	}
}